﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelperFromTheSkeleton.WebSocketCore.Models
{
    public class WebSocketCreatBuilderModel
    {
        /// <summary>
        /// 启动参数
        /// </summary>
        public string[] Args { get; set; } = Array.Empty<string>();

        /// <summary>
        /// 应用名称
        /// </summary>
        [Required(ErrorMessage = "API名称不能为空！")]
        public string? ApplicationName { get; set; }

        /// <summary>
        /// 应用编码
        /// </summary>
        [Required(ErrorMessage = "API标识编码不能为空！")]
        public string? ApplicationCode { get; set; }
    }
}
